package com.hgw.Demo02_adapterPattern.objectAdapter;

/**
 * Data time:2021/12/14 09:33
 * StudentID:2019112118
 * Author:hgw
 * Description: 测试类
 */
public class Computer {

    public static void main(String[] args) {
        SDCardImpl sdCard = new SDCardImpl();
        System.out.println(sdCard.readSD());

        System.out.println("======================");

        SDAdapterTF adapterTF = new SDAdapterTF(new TFCardImpl());
        System.out.println(adapterTF.readSD());
    }
}
